﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace DataAcquisitionDAL
{
    /// <summary>
    /// 界面点位
    ///</summary>
    [SugarTable("d_form_point")]
    public class FormPointModel
    {
        /// <summary>
        /// 备  注:界面点位编号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "number", IsPrimaryKey = true)]
        public int Number { get; set; }

        /// <summary>
        /// 备  注:界面点位名称
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; } = null!;

        /// <summary>
        /// 备  注:设备编号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "device_point_number")]
        public int DevicePointNumber { get; set; }

        /// <summary>
        /// 备  注:设备名称
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "device_point_name")]
        public string DevicePointName { get; set; } = null!;

        /// <summary>
        /// 备  注:点位类型
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "point_type")]
        public string PointType { get; set; } = null!;

    }
}
